<?php 
if(!($this->session->userdata('lang')))
{
	$this->session->set_userdata('lang','russian');
}
$this->lang->load('static', $this->session->userdata('lang'));

?>
<h2><?php echo lang('clients')?></h2>
<script>
 var site='<?php echo lang('site')?>';
 var email='<?php echo lang('email')?>';
 var otpr='<?php echo lang('otpr')?>';
 var prin='<?php echo lang('prin')?>';
</script>
<script type="text/javascript" src="/js/admin/userlist.js"></script>
<table width=100%>
<tr>
	<td width=50% align=right>
		<table id="tableTours"></table>
		<div id="pagerTours"></div>
	</td>
	<td width=50% align=left>
		<table id="tableOtpr"></table>
		<div id="pagerOtpr"></div>
	</td>
</tr>
</table>
<div id="dialog1" style="display:none">
	<input id="map_uid" type="hidden" />
	<p>Map URL: <input id="map_url" type="text" /></p>
	<p>Width: <input id="map_width" type="text" /></p>
	<p>Height: <input id="map_height" type="text" /></p>
	<p><input id="save_setting" type="submit" value="Save" /></p>
</div>
<div id="dialog2" style="display:none">
	<input id="oto_id" type="hidden" />
	<p>Win Encoding: <input id="module_winenc" type="checkbox" /></p>
	<p>Module: <select id="module_type"><option value="tour">Tours</option><option value="hotel">Hotels</option></select></p>
	<p><input id="generate_code" type="submit" value="Generate" /></p>
	<textarea id="module_code" style="width:100%; height: 150px"></textarea>
</div>
